package com.hsj.goldstore.mvp.present;

import com.hsj.goldstore.base.BaseMvpPresent;
import com.hsj.goldstore.base.BaseMvpView;
import com.hsj.goldstore.bean.GoodsBean;
import com.hsj.goldstore.bean.LoginBean;
import com.hsj.goldstore.mvp.view.MyCouponView;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018/3/26.
 */

public class MyCouponPresent extends BaseMvpPresent<MyCouponView> implements IMyCouponPresent {

    private List<GoodsBean> list;

    @Override
    public void getCouponList() {
        checkViewAttach();
        list = new ArrayList<>();
        mvpView.setData(list);
    }

    @Override
    public void refresh() {
        mvpView.refreshComplete();
    }

    @Override
    public void loadMore() {
        mvpView.refreshComplete();
        mvpView.noMore(true);

    }
}
